package com.pro.springbootshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

@Data
public class Buyer {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String buyerName;
    private String buyerId;
    private String buyerPw;
    private String buyerAddress;
    private String buyerPhone;
    @TableField(exist = false)
    private List<Cart> cartList;

}
